package vn.demand.dragon.controller
{
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	import vn.demand.dragon.model.QuotationProxy;
	import vn.demand.dragon.model.SupplierProxy;
	
	public class RemoveQuotationCommand extends SimpleCommand
	{
		override public function execute( note:INotification ) :void    
		{
			var quotation:Object = note.getBody();
			var proxy:QuotationProxy = facade.retrieveProxy(QuotationProxy.NAME) as QuotationProxy
			proxy.remove(quotation);
        }
	}
}